Ahora vamos a decirle al jugador que ganó si él cumplió con nuestra win condition.

  • Cambia el nombre del texto a win_text.
  • Cambia el string en el texto a "YOU WIN!"
  • Coloca el texto en el centro del escenario, (0, 0) y cambia el color del texto a "green".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)